package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.TbGoodsDescService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class TbGoodsDescServiceImpl implements TbGoodsDescService {
    @Autowired
    private TbGoodsDescMapper descMapper;
    @Override
    public TbGoodsDesc selectGoodsDescById(Long id) {
        return descMapper.selectByPrimaryKey(id);
    }
}
